

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.io.IOException;

/**
 * 输出文件内容
 * Created by Zhou_Bing on 2019/11/19.
 */
public class Cat {


    public static void main(String[] args) throws IOException {
        Long start = System.currentTimeMillis();
        FileReader fileReader = new FileReader(args[0]);
        BufferedReader br = new BufferedReader(fileReader);
        String line;
        while((line=br.readLine())!=null){
            System.out.println(line);
        }
        System.out.println("\n\n speed time:"+(System.currentTimeMillis()-start));
    }

}
